package com.lancoo.ccas53.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lancoo.ccas53.entity.RuleUsable;

import java.util.List;

/**
 * <p>
 * 基础规则 服务类
 * </p>
 *
 * @author quin.song
 * @since 2024-05-20
 */
public interface RuleUsableService extends IService<RuleUsable> {

    /**
     * @param taskId:
     * @Description: 获取基础规则
     * @Author: liufeng
     * @Date: 2024/6/13 10:26
     * @return:
     */
    List<RuleUsable> getBasicRule(Integer taskId);

    List<RuleUsable> initBaseRule(Integer taskId);

    /**
     * @param taskId:
     * @param ruleUsable:
     * @Description: 设置基础规则
     * @Author: liufeng
     * @Date: 2024/6/13 10:30
     * @return:
     */
    void setBasicRule(Integer taskId, List<RuleUsable> ruleUsable);
}
